<extend name="Common/common"/>
<block name="main">
    <div class="right-title">诊疗数据统计</div>
    <div class="right-content">
        <table border="0" class="table">
            <tr class="table-theadadjust">
                <td>已诊疗总用户</td>
                <td>{$total|default=0}</td>
            </tr>
            <tr class="table-theadadjust">
                <td>月份统计</td>
                <td></td>
            </tr>
            <tr class="table-theadadjust">
                <td>月份</td>
                <td id="mydate">{$date}</td>
            </tr>
            <tr class="table-theadadjust">
                <td>当月诊疗用户</td>
                <td id="now_num">{$count|default=0}</td>
            </tr>
        </table>
    </div>
</block>
<block name="css">
    <link rel="stylesheet" type="text/css" href="__JS__/doctor/monthpick/jquery.monthpicker.css" />
</block>
<block name="js">
    <script src="__JS__/doctor/monthpick/jquery.monthpicker.js"></script>
    <script src="__JS__/doctor/datepick.js"></script>
    <script type="text/javascript">
        time_url = "{:U('getTreatmentCount')}";
        handle_func = function (valueText,data) {
            if(data.code==0){
                $('#mydate').val(valueText);
                $('#now_num').text(data.data);
            }
        };
    </script>
</block>